<%-- 
    Document   : login
    Created on : Nov 13, 2009, 9:19:26 PM
    Author     : fdcube
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>用户登录</title>
        <link href="<s:url value="/css/main.css"/>" rel="stylesheet" type="text/css"/>
    </head>
    <body>
        <s:div cssClass="top">
            <s:include value="/header.jsp"/>
            <s:include value="/side.jsp"/>
        </s:div>
        <s:actionmessage/>
        <div align="center">
            <s:form name="loginForm" action="UserAction!Login" namespace="/user">
                <s:textfield label="用户名" name="loginForm.uname"/>
                <s:password label="密码" name="loginForm.upwd"/>
                <s:hidden name="returnUrl" value="/user/login.jsp"/>
                <s:submit value="登录" align="center"/>
            </s:form>
            <s:actionerror/>
        </div>
    </body>
</html>
